Update fan related tests for under/over speed check APIs#8587
Update fan related tests for under/over speed check APIs#8587yxieca merged 2 commits intosonic-net:masterfrom
Conversation
…ke delay to wait for fan speeds to settle vendor customizable
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Can anyone help with the failure observed in the checks, |
|
Looks like the test failure is associated with a known DUALTOR testbed issue which should be corrected soon by this PR: |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Is there another known issue in |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 8587 in repo sonic-net/sonic-mgmt |
|
@gechiang do you know why kvmtest might be failing? Was this a known issue? I don't have permissions to restart the tests if so. |
|
it failed with this testcase failure: Which differs from previous test failure due to known DualToR Testbed issue. |
|
@gechiang sonic-mgmt all passed now, is anything else needed to merge? |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
JibinBao
left a comment
There was a problem hiding this comment.
The reason of romving test_get_fans_speed_tolerance is that we don't need the api of get_speed_tolerance, right?
JibinBao
left a comment
There was a problem hiding this comment.
- is_under_speed and is_over_speed are new api? If yes,What version start supportting them?
- From now on we don't need the api of get_speed_tolerance, right?
|
Who is able to merge? "Reviewer with write access" approval is satisfied already. |
|
/semgrep |
|
@yxieca , looks like it is still stuck on Semgrep... |
|
/Semgrep |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/Semgrep |
|
For semgrep trigger issue, @spilkey-cisco could you rebase the commits to latest master, or merge master to your dev branch? Then there is semgrep config, which will trigger semgrep check properly. |
Semgrep passed, but there are failures now that were not hit last time. I'm unable to view any details about the failures; can anyone help to provide failure details if they are related to these changes, or rerun the tests if not? |
rerun the failed test just now. let's see if the rerun passes... |
…ke delay to wait for fan speeds to settle vendor customizable (sonic-net#8587)
|
Cherry-pick PR to 202305: #11482 |
…ke delay to wait for fan speeds to settle vendor customizable (#8587)
Description
Use vendor customizable fan speed threshold checks in sonic-mgmt tests instead of hard-coded calculations based on pwm/percentage.
Motivation and Context
Fan under/over speed checks should be vendor customizable, since a tolerance based off the pwm/percentage fan speed can easily give false failures, especially for low fan speeds.
How Has This Been Tested?